package com.sgcc.ln.pmos.e_ln_home.presenter;

import com.sgcc.ln.pmos.common.base.BasePresenter;
import com.sgcc.ln.pmos.e_ln_home.bean.VideoGuideBean;
import com.sgcc.ln.pmos.e_ln_home.contract.VideoGuideContract;

import java.util.ArrayList;
import java.util.List;

public class VideoGuidePersenter extends BasePresenter<VideoGuideContract.View> implements VideoGuideContract.Presenter {
    @Override
    public void getVideoList() {
        List<VideoGuideBean> list = new ArrayList<>();
        VideoGuideBean bean1 = new VideoGuideBean();
        bean1.setTitle("微课堂|售电公司注册流程及所需资料");
        bean1.setTime("2022-12-30 14:59");
        bean1.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000001.mp4");
        list.add(bean1);

        VideoGuideBean bean2 = new VideoGuideBean();
        bean2.setTitle("微课堂|绿色电力证书交易流程");
        bean2.setTime("2023-01-03 09:17");
        bean2.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000002.mp4");
        list.add(bean2);

        VideoGuideBean bean3 = new VideoGuideBean();
        bean3.setTitle("微课堂|绿色电力交易流程");
        bean3.setTime("2023-01-04 10:03");
        bean3.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000003.mp4");
        list.add(bean3);

        VideoGuideBean bean4 = new VideoGuideBean();
        bean4.setTitle("微课堂|省内电力中长期直接交易流程");
        bean4.setTime("2023-01-05 08:38");
        bean4.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000004.mp4");
        list.add(bean4);

        VideoGuideBean bean5 = new VideoGuideBean();
        bean5.setTitle("微课堂|省内电力现货市场交易流程");
        bean5.setTime("2023-01-06 09:43");
        bean5.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000005.mp4");
        list.add(bean5);

        VideoGuideBean bean6 = new VideoGuideBean();
        bean6.setTitle("微课堂|电力交易结算要点");
        bean6.setTime("2023-01-09 09:58");
        bean6.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000006.mp4");
        list.add(bean6);

        VideoGuideBean bean7 = new VideoGuideBean();
        bean7.setTitle("微课堂|信息披露内容及渠道");
        bean7.setTime("2023-01-10 09:18");
        bean7.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000007.mp4");
        list.add(bean7);

        VideoGuideBean bean8 = new VideoGuideBean();
        bean8.setTitle("微课堂|市场主体退市注意事项及流程");
        bean8.setTime("2023-01-11 09:42");
        bean8.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000008.mp4");
        list.add(bean8);

        VideoGuideBean bean9 = new VideoGuideBean();
        bean9.setTitle("微课堂|电力用户注册流程及所需资料");
        bean9.setTime("2023-01-12 08:37");
        bean9.setVideoUrl("https://exp-prod-sd.oss-cn-beijing.aliyuncs.com/public/2023/03/ln/ln000009.mp4");
        list.add(bean9);

        getView().queryVideoListSuccess(list);
    }
}
